package com.walter.model.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author ：ch
 * @date ：Created in 2021/5/25
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Data
public class UpdateParamForm {
    @ApiModelProperty("主键")
    @NotNull(message = "参数的key不能为空")
    @Length(min = 1,message = "参数的key不能为空串")
    private String key;

    @ApiModelProperty("值")
    private String value;

    @ApiModelProperty("描述说明")
    private String desc;
}
